package com.hxzy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wzm
 * @create 2024-03-05 11:57
 * project_name:JavaWeb2401
 * @Description
 */
//专门用来存储分页数据返回的类
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageBean {
    //总记录数
    private Long total; //select count(*)
    //当前页要显示的数据集合//select * from 表名 limit?,?
    private List rows;

}
